package com.yingxin.yxerp.module.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yingxin.yx.framework.commons.enums.BusinessType;
import com.yingxin.yxerp.module.sys.entity.BusinessTypeSetting;

import java.util.Date;

/**
 * 每日编号 服务类
 * @author fanchao
 * @since 2022-01-16
 */

public interface IBusinessTypeSettingService extends IService<BusinessTypeSetting> {

    void update(BusinessTypeSetting entity);

    String next(BusinessType businessType);

    void cancelMaterialNo(BusinessType businessType, Date date);

    String next(BusinessType businessType, String taxFlag);

}
